using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using Liberty.Domain.NoteManagement;

using Peradigm.Framework.UI.Web;

namespace Liberty.UI.NoteManagement.Controls
{
    public partial class NoteView : AbstractLibertyControl
    {
        #region Constants
        #endregion

        #region Event Handlers
        #endregion

        #region Methods
        #endregion

        #region Properties
        #endregion

        #region Private Methods
        public override void UpdateView()
        {
            Note note = this.Note;
            lblAuthor.Text = note.Author.Name;
            lblDateCreated.Text = note.DateCreated.ToString();
            lblNote.Text = note.Text;
        }
        #endregion

        #region Private Properties
        private Note Note
        {
            get
            {
                return (Note)this.Model;
            }
        }
        #endregion

        #region Construction and Finalization
        #endregion

        #region Data Elements
        #endregion
    }

}